angular.module('app').controller('testCtrl',['$scope' ,'utils' ,'$http','$rootScope','$q','$state','activity'
    ,function ($scope ,utils,$http,$rootScope,$q,$state,activity) {
        $scope.testClick=  function () {

         var div="<body style=\"background-color: #0A7C71\"><p>😯😯😯</p><img src=\"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1535966695970&di=df3b388fe083c77f2abe0cf509e77384&imgtype=0&src=http%3A%2F%2Fi.epetbar.com%2F2014-01%2F07%2Fbfa3042fb41c43639736462a276a570d.jpg\" alt=\"\"><img src=\"http://52mingquan.com/upload/1311/26123528313.jpg\" alt=\"\"><img src=\"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1535966763283&di=cdaab42a9de9ff56235dab8e383af03a&imgtype=0&src=http%3A%2F%2Fgfs10.gomein.net.cn%2FT12XVTBTDQ1RXrhCrK-600%252180.jpg\" alt=\"\"></body>"
         var test='{"div": "<body style=\\"background-color: #0A7C71\\"><p style=\\"vertical-align: middle ;text-align: center\\">😯😯😯就不改</p> <p style=\\"font-size: 110px ;color: #0b97c4\\">😯😯😯 不改</p> <p style=\\"background-color: #40AFFE\\">😯😯😯 不改</p> <p>😯😯😯 不改</p> <p>😯😯😯 不改</p></body>"\n' + '}'
           if($rootScope.isapp){
               wv.shareWithShareData(test)
           }  else {
               console.log(test)
           }

        }
    }])